package com.or.config;

import com.or.util.PropsUtil;
import org.springframework.boot.builder.SpringApplicationBuilder;

import java.util.Properties;

/**
 * @author wei
 * @version 1.0
 * @date 2023/7/3 10:14
 */
public class LauncherServiceImpl implements LauncherService {

    @Override
    public void launcher(SpringApplicationBuilder builder, String profile) {
        Properties props = System.getProperties();
//        PropsUtil.setProperty(props, "slodon.bbc.datasource.write.url", LauncherConstant.sentinelAddr(profile));
//        PropsUtil.setProperty(props, "slodon.bbc.datasource.read.url", LauncherConstant.sentinelAddr(profile));
    }

}
